﻿using System.Collections.Generic;
using eCommerce.Core.Domain.Pictures;

namespace eCommerce.Core.Domain.Products
{
    public class ItemGroup : BaseEntity
    {
        public virtual string ItemGroupNo { get; set; }

        public virtual ProductAttributeValue ProductAttributeValue { get; set; }

        public virtual int ProductAttributeValueId { get; set; }


        public virtual IList<Item> Items { get; set; }

        public virtual int ProductId { get; set; }
        public virtual Product Product { get; set; }


        public virtual int? IconPictureId { get; set; }
        public virtual Picture IconPicture { get; set; }

        public virtual IList<ItemGroupPicture> ItemGroupPictures { get; set; }
    }
}